package com.neuedu.dao.impl;

import java.util.List;

import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.neuedu.dao.GoodsTypeDao;
import com.neuedu.model.GoodsType;

@Repository
public class GoodsTypeDaoImpl implements GoodsTypeDao {

	@Autowired
	private SqlSessionTemplate sqlSessionTemplate;

	@Override
	public List<GoodsType> findList() {
		return sqlSessionTemplate.getMapper(GoodsTypeDao.class).findList();
	}

}
